//
//  WeatherModel.m
//  day-02-TopView
//
//  Created by hcios on 2017/6/30.
//  Copyright © 2017年 hcios. All rights reserved.
//

#import "WeatherModel.h"

@implementation WeatherModel

-(instancetype)initWithDict:(NSDictionary *)dict{
    
    if (self = [self init]) {
        _temp_min = NonEmptyString(dict[@"temp_min"]);
        _temp_max= NonEmptyString(dict[@"temp_max"]);
        _current_time = NonEmptyString(dict[@"_current_time"]);
        _language_code = NonEmptyString(dict[@"_language_code"]);
    }
    return self;
}

@end
